home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
zbpc_460.zip
/
TUTOR.EXE
/
CONFIG1.DOC
< prev
next >
Wrap
Text File
|
1988-11-04
|
2KB
|
43 lines
Configuring the ZBASIC Compiler
...
The first step in using the ZBASIC compiler is setting your
configuration options. These may be saved, and you can have
multiple ZBASIC versions with different default settings,
such as single precision default, double precision default,
mouse supported, and so on.
...
To configure, select Configure at the main ZBASIC startup
menu or type CONFIGURE while within the editor. You will
then be presented with these options Double Precision Accuracy,
Single Precision Accuracy, and Scientific Precision Accuracy.
With these you can specify the number of decimal places to which
the calculations are carried. The more decimal places, the
slower the program will run.
...
Next you select the maximum number of files open at any
time (this replaces the /F: option in BASIC and may be changed
at any time). In the demo version of ZBASIC only one file may
be opened.
...
Array base (0 or 1) lets you specify whether the lowest member
of arrays is X(0) or X(1). Rounding number allows you to alter
the normal round-off of .5.
...
Default variable type allows you to vary from BASIC's Single
Precision Default. Test Array Bounds will check to see if the
program can assign array members outside the dimension of the
array. This slows program execution, but can speed debugging.
Convert to Upper Case allows you to treat variable names equal
regardless of case. If "Y" then the variable FRED is the same
as fred or FrEd, otherwise they are different variables. ZBASIC
variable names can be as long as 240 characters, and the first
15 letters in the variable name are significant.
...
Spaces between keywords "N" means you can do this:
100 IFX=100THENPRINT"100"ELSEPRINT"Not 100"
but you cannot embed keywords in a variable name. Whatever
makes you feel comfortable.
...
Optimize expression as integer? selects between integer and
floating point.